package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警超时设置对象 alarm_timeout
 * 
 * @author ruoyi
 * @date 2023-11-13
 */
public class AlarmTimeout extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 报警等级 */
    @Excel(name = "报警等级")
    private String level;

    /** 报警未处理时长 */
    @Excel(name = "报警未处理时长")
    private String alarmtime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setAlarmtime(String alarmtime) 
    {
        this.alarmtime = alarmtime;
    }

    public String getAlarmtime() 
    {
        return alarmtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("alarmtime", getAlarmtime())
            .toString();
    }
}
